package com.huike.contract.domain.vo;

public class AssignmentDto {
    private Long userId;
    private String userName;
    private Long transferUserId;
    private int type;
    private Long deptId;

    public AssignmentDto(Long userId, Long transferUserId, int type) {
        this.userId = userId;
        this.transferUserId = transferUserId;
        this.type = type;
    }

    public AssignmentDto(Long userId, String userName, Long transferUserId, int type, Long deptId) {
        this.userId = userId;
        this.userName = userName;
        this.transferUserId = transferUserId;
        this.type = type;
        this.deptId = deptId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }


    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTransferUserId() {
        return transferUserId;
    }

    public void setTransferUserId(Long transferUserId) {
        this.transferUserId = transferUserId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "AssignmentDto{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", transferUserId=" + transferUserId +
                ", type=" + type +
                ", deptId=" + deptId +
                '}';
    }
}
